package com.wzy.oa_sys.model.response.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.sql.Timestamp;
import java.time.LocalDate;

@Data
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class UserResp {
    @JsonProperty("id")
    private long id;
    @JsonProperty("deptname")
    private String deptname;
    @JsonProperty("username")
    private String username;
    @JsonProperty("realname")
    private String realname;
    @JsonProperty("position")
    private String position;
    @JsonProperty("tel")
    private String tel;
    @JsonProperty("gender")
    private String gender;
    @JsonProperty("birth")
    private LocalDate birth;
    @JsonProperty("bankcard")
    private String bankcard;
    @JsonProperty("img")
    private String img;
    @JsonProperty("superior")
    private String superior;
    @JsonProperty("autoid")
    private String autoid;
    @JsonProperty("employeeType")
    private String employeeType;
    @JsonProperty("typeId")
    private long typeId;
    @JsonProperty("joinDate")
    private LocalDate joinDate;
    @JsonProperty("country")
    private String country;
    @JsonProperty("city")
    private String city;
    @JsonProperty("role")
    private String role;
    @JsonProperty("roleId")
    private long roleId;
    @JsonProperty("password")
    private String password;
}
